<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var age = prompt("请输入你的年龄");
        if(age<=6){
            console.log("过家家")
        }
        else if(age<=12){
            console.log("王者")
        }
        else if(age<=18){
            console.log("lol")
        }
        else{
            console.log("网吧")
        }
    </script>
</body>
</html>